import request from '@/utils/request';

/**
 * 游客菜单
 * @param params
 * @returns {*}
 */
export function queryGuestMenu(params) {
  return request({
    url: 'rest/api/guest/layout/v1/menu/pc/query/menus/layout',
    method: 'get',
    params
  });
}

/**
 * 用户菜单
 * @param params
 * @returns {*}
 */
export function queryAllMenu(params) {
  return request({
    url: 'rest/api/layout/v1/menu/pc/query/menus/layout',
    method: 'get',
    params
  });
}
